package com.example.test1.service;

import com.example.test1.bean.UserBean;
import com.example.test1.bean.UserImgBean;
import com.github.pagehelper.PageInfo;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;
public interface UserService {
    int delUserImg(String id);
    List<UserImgBean> getUserImgsById(int user_id);
    int insertUserImg(UserImgBean userImgBean);
    PageInfo<UserBean> selectUser4Page(Integer page, Integer pageSize);
    int updateUser(UserBean userBean);
    UserBean getUserById(int id);
    int deleteUser(int id);
    int insertUser(UserBean userBean);
    List<UserBean> getAllUser();
    UserBean loginIn(String name, String password);
}
